home *** CD-ROM | disk | FTP | other *** search
/ Softdisk for Windows 38 / Softdisk for Windows 38.iso / oilpro / OILPRO.EXE / OILPRO.DXR / 00332.ls < prev    next >
Encoding:
Text File  |  1997-08-20  |  749 b   |  31 lines

  1. on exitFrame
  2.   global LIGHTCNT, SOLEAUSTATUS
  3.   set SOLEAUSTATUS to 1
  4.   set LIGHTCNT to LIGHTCNT + 1
  5.   if rollOver(48) then
  6.     set the castNum of sprite 48 to cast "QUITRETURN1"
  7.   else
  8.     set the castNum of sprite 48 to cast "QUITRETURN0"
  9.   end if
  10.   if rollOver(43) then
  11.     set the castNum of sprite 43 to cast "PRINTBUT1"
  12.   else
  13.     set the castNum of sprite 43 to cast "PRINTBUT0"
  14.   end if
  15.   puppetSprite(4, 1)
  16.   if LIGHTCNT >= 4 then
  17.     set LIGHTCNT to 1
  18.   end if
  19.   if LIGHTCNT = 1 then
  20.     set the castNum of sprite 4 to cast "LIGHT1"
  21.   end if
  22.   if LIGHTCNT = 2 then
  23.     set the castNum of sprite 4 to cast "LIGHT2"
  24.   end if
  25.   if LIGHTCNT = 3 then
  26.     set the castNum of sprite 4 to cast "LIGHT3"
  27.   end if
  28.   updateStage()
  29.   go(the frame)
  30. end
  31.